package jintaibianl;

public class text05 {
    public static void main(String[] args) {
        NN nn = new NN();
        NN.FF ff=new NN.FF();
        ff.ss();
        NN.FF f1=nn.m2();
        f1.ss();
        NN.FF f2=NN.m3();
        f2.ss();

    }
}
class NN{
    int a=1;
    static int e=2;
    void aa(){
        System.out.println("1111");
    }
    static void bb(){
        System.out.println("222222");
    }
    static class FF{
        public void ss() {


            // a=2无法访问
            // aa()无法访问
              bb();
              e=1;
        }
    }
    public void m1(){
        FF ff = new FF();
        ff.ss();
    }
    public FF m2(){
        return new FF();
    }
    public static FF m3(){
        return new FF();
    }
}
